$(MAKE) -C $* $(patsubst subdir-%-$*,%,$@)
subdir-distclean-%: .phony
- $(MAKE) -C $* clean
+ $(MAKE) -C $* distclean
ifeq (,$(findstring clean,$(MAKECMDGOALS)))
$(XEN_ROOT)/config/Tools.mk:
clean:
rm -rf *.a *.so *.o *.rpm $(LIB) *~ $(DEPS) TAGS
-.PHONY: all clean install
-all clean install: %: subdirs-%
+distclean: clean
+
+.PHONY: all clean install distclean
+all clean install distclean: %: subdirs-%
rm -f $(LIBNAME).so $(LIBSONAME)
rm -f *~
-.PHONY: all build clean install
+distclean: clean
+
+.PHONY: all build clean distclean install
-include $(DEPS)
clean:
rm -rf .*.d *.o *~ xen TAGS $(IBIN) $(LIB) $(LOCK_UTIL) $(QCOW_UTIL)
-.PHONY: clean install
+distclean: clean
+
+.PHONY: clean install distclean
.PHONY: clean
clean:
@:
+
+.PHONY: distclean
+distclean: clean
clean:
rm -rf *.o *.opic *~ $(DEPS) $(IBIN)
-.PHONY: all build clean install lvm-util
+distclean: clean
+
+.PHONY: all build clean distclean install lvm-util
-include $(DEPS)
clean: subdirs-clean
rm -rf *.o *~ $(DEPS) $(IBIN)
-.PHONY: all build clean install vhd-util vhd-update
+distclean: clean
+
+.PHONY: all build clean distclean install vhd-util vhd-update
-include $(DEPS)
clean:
rm -rf *.a *.so* *.o *.opic *~ $(DEPS) $(LIBVHD)
-.PHONY: all build clean install libvhd
+distclean: clean
+
+.PHONY: all build clean distclean install libvhd
-include $(DEPS)
$(RM) *.a *.so *.o *.rpm $(BIN) $(DEPS)
$(RM) client/*.o daemon/*.o
+.PHONY: distclean
+distclean: clean
+
xenconsoled: $(patsubst %.c,%.o,$(wildcard daemon/*.c))
$(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS) $(LDLIBS_xenconsoled) $(APPEND_LDFLAGS)
procpipe: procpipe.o
.PHONY: clean
-clean:; $(RM) *.o console-domU console-dom0 procpipe
+clean: $(RM) *.o console-domU console-dom0 procpipe
+
+.PHONY: distclean
+distclean: clean
rm -f xg_all.a gx_all.a gdbsx
set -e; for d in xg gx; do $(MAKE) -C $$d clean; done
+.PHONY: distclean
+distclean: clean
+ set -e; for d in xg gx; do $(MAKE) -c $$d distclean; done
+
.PHONY: install
install: all
[ -d $(DESTDIR)$(SBINDIR) ] || $(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
clean:
rm -rf gx_all.a *.o .*.d
+.PHONY: distclean
+distclean: clean
#%.o: %.c $(GX_HDRS) Makefile
# $(CC) -c $(CFLAGS) -o $@ $<
clean:
rm -rf xen xg_all.a $(XG_OBJS) .*.d
+.PHONY: distclean
+distclean: clean
clean:
rm -f $(OBJS) $(DEPS) kdd
+.PHONY: distclean
+distclean: clean
+
.PHONY: install
install: all
[ -d $(DESTDIR)$(SBINDIR) ] || $(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
.PHONY: clean
clean:
+
+.PHONY: distclean
+distclean: clean
rm -f roms.inc roms.inc.new acpi.h
rm -f hvmloader hvmloader.tmp *.o $(DEPS)
+.PHONY: distclean
+distclean: clean
+
-include $(DEPS)
rm -rf *.a *.o $(IASL_VER) $(IASL_VER).tar.gz $(DEPS)
rm -rf ssdt_*.h dsdt*.c *~ *.aml *.hex mk_dsdt dsdt_*.asl
+distclean: clean
+
install: all
-include $(DEPS)
clean: subdirs-clean
rm -rf *.o $(TARGET) $(DEPS)
+.PHONY: distclean
+distclean: subdirs-distclean
+
$(TARGET): 32bitbios_all.o
sh mkhex highbios_array 32bitbios_all.o > $@
clean:
rm -rf *.o $(TARGET) $(DEPS)
+.PHONY: distclean
+distclean: clean
+
$(TARGET): tcgbios.o tpm_drivers.o
$(LD) $(LDFLAGS_DIRECT) -r $^ -o $@
rm -f BIOS-bochs-*
rm -f $(DEPS)
+.PHONY: distclean
+distclean: clean
+
BIOS-bochs-latest: rombios.c biossums 32bitgateway.c tcgbios.c
gcc -DBX_SMP_PROCESSORS=1 -E -P $< > _rombios_.c
bcc -o rombios.s -C-c -D__i86__ -0 -S _rombios_.c
temp.awk.* vgabios*.orig _vgabios_* _vgabios-debug_* core vgabios*.bin vgabios*.txt $(RELEASE).bin *.bak
rm -f VGABIOS-lgpl-latest*.bin
+.PHONY: distclean
+distclean: clean
+
.PHONY: release
release:
VGABIOS_VERS=\"-DVGABIOS_VERS=\\\"$(RELVERS)\\\"\" make bios cirrus-bios
SUBDIRS-y := utils
SUBDIRS-$(FLASK_POLICY) += policy
-.PHONY: all clean install
-all clean install: %: subdirs-%
+.PHONY: all clean install distclean
+all clean install distclean: %: subdirs-%
clean:
$(RM) tmp policy.conf $(POLICY_FILENAME)
-.PHONY: all install clean
+distclean: clean
+
+.PHONY: all install clean distclean
rm -f $(CLIENTS)
$(RM) $(DEPS)
+.PHONY: distclean
+distclean: clean
+
.PHONY: print-dir
print-dir:
@echo -n tools/flask/utils:
.PHONY: clean
clean:
+
+.PHONY: distclean
+distclean: clean
.PHONY: clean
clean: subdirs-clean
+
+.PHONY: distclean
+distclean: clean
clean:
rm -f $(XEN_SYSTEMD_MODULES)
+.PHONY: distclean
+distclean: clean
+
.PHONY: install
install: $(ALL_XEN_SYSTEMD)
[ -d $(DESTDIR)$(XEN_SYSTEMD_DIR) ] || \
SUBDIRS-$(CONFIG_Linux) += Linux
SUBDIRS-$(CONFIG_FreeBSD) += FreeBSD
-.PHONY: all clean install
-all clean install: %: subdirs-%
+.PHONY: all clean install distclean
+all clean install distclean: %: subdirs-%
.PHONY: clean
clean:
+
+.PHONY: distclean
+distclean: clean
.PHONY: clean
clean:
rm -f $(HOTPLUGPATH)
+
+.PHONY: distclean
+distclean: clean
rm -rf xen
$(MAKE) -C xen-foreign clean
+
+.PHONY: distclean
+distclean: clean
architectures := arm32 arm64 x86_32 x86_64
headers := $(patsubst %, %.h, $(architectures))
-.PHONY: all clean check-headers
+.PHONY: all clean distclean check-headers
all: $(headers) check-headers
clean:
rm -f checker checker.c
rm -f *.pyc *.o *~
+distclean: clean
+
checker: checker.c $(headers)
$(HOSTCC) $(HOSTCFLAGS) -o $@ $<
$(GUEST_LIB_OBJS) $(GUEST_PIC_OBJS) \
$(OSDEP_LIB_OBJS) $(OSDEP_PIC_OBJS)
+.PHONY: distclean
+distclean: clean
+
.PHONY: rpm
rpm: build
rm -rf staging
clean:
rm -rf *.a *.o *~ $(DEPS)
-.PHONY: all build clean install
+.PHONY: distclean
+distclean: clean
+
+.PHONY: all build clean install distclean
-include $(DEPS)
clean:
$(RM) *.o $(TARGETS_BUILD) *~ $(DEPS)
+.PHONY: distclean
+distclean: clean
+
xen-hvmctx: xen-hvmctx.o
$(CC) $(LDFLAGS) -o $@ $< $(LDLIBS_libxenctrl) $(APPEND_LDFLAGS)
.PHONY: clean
clean: subdirs-clean
+
+.PHONY: distclean
+distclean: subdirs-distclean
clean: $(CLEAN_HOOKS)
$(Q)rm -f .*.d *.o *.so *.a *.cmo *.cmi *.cma *.cmx *.cmxa *.annot *.spot *.spit $(LIBS) $(PROGRAMS) $(GENERATED_FILES) .ocamldep.make META
+distclean: clean
+
quiet-command = $(if $(V),$1,@printf " %-8s %s\n" "$2" "$3" && $1)
mk-caml-lib-native = $(call quiet-command, $(OCAMLOPT) $(OCAMLOPTFLAGS) -a -o $1 $2 $3,MLA,$1)
.PHONY: clean
clean: subdirs-clean
+
+.PHONY: distclean
+distclean: subdirs-distclean
clean:
rm -rf build tmp *.pyc *.pyo *.o *.a *~ a.out $(DEPS)
+.PHONY: distclean
+distclean: clean
+
-include $(DEPS)
rm -rf build/
rm -f $(DEPS)
+.PHONY: distclean
+distclean: clean
+
-include $(DEPS)
-.PHONY: all clean
+.PHONY: all clean distclean
all:
$(MAKE) -C tools
clean:
$(MAKE) -C tools clean
+
+distclean:
+ $(MAKE) -C tools distclean
clean:
$(RM) *.o xen-mceinj
+.PHONY: distclean
+distclean: clean
+
xen-mceinj: xen-mceinj.o Makefile
$(CC) -o $@ $< $(LDFLAGS) $(LDLIBS_libxenctrl) $(LDLIBS_libxenguest) $(LDLIBS_libxenstore)
clean:
$(RM) *.o $(TARGETS) *~ $(DEPS)
+.PHONY: distclean
+distclean: clean
+
memshrtool: memshrtool.o
$(CC) -o $@ $< $(LDFLAGS) $(LDLIBS_libxenctrl)
.PHONY: runtime-environment
runtime-environment: $(PYTHON_VERSIONS)
-.PHONY: dist-clean
-dist-clean:
+.PHONY: distclean
+distclean:
rm -fr $(REG_TEST_DIR)/installed $(REG_TEST_DIR)/downloads \
$(REG_TEST_DIR)/build
clean:
rm -rf $(TARGET) $(TARGET).out *.o *~ core* hpet.h hpet.c
+.PHONY: distclean
+distclean: clean
+
.PHONY: install
install:
clean:
rm -rf $(TARGET) *.o *~ core blowfish.h blowfish.bin x86_emulate
+.PHONY: distclean
+distclean: clean
+
.PHONY: install
install:
clean:
$(RM) *.o $(TARGETS) *~ $(DEPS)
+.PHONY: distclean
+distclean: clean
+
xen-access: xen-access.o Makefile
$(CC) -o $@ $< $(LDFLAGS) $(LDLIBS_libxenctrl) $(LDLIBS_libxenguest)
$(RM) *.o $(PROGRAMS)
$(RM) $(DEPS)
+.PHONY: distclean
+distclean: clean
+
-include $(DEPS)
clean:
$(RM) *.a *.so *.o $(DEPS) xenbackendd
+.PHONY: distclean
+distclean: clean
+
xenbackendd: xenbackendd.o
$(CC) $(LDFLAGS) $< -o $@ $(LDLIBS) $(APPEND_LDFLAGS)
$(RM) -f xenbaked xenbaked.o
$(RM) -f xentrace_setmask setmask.o
+.PHONY: distclean
+distclean: clean
+
xenbaked: xenbaked.o Makefile
$(CC) $(LDFLAGS) $< -o $@ $(LDLIBS) $(APPEND_LDFLAGS)
clean:
rm -f *.o *~ $(DEPS) xen TAGS $(IBINS) $(LIB)
-.PHONY: clean install
+distclean: clean
+
+.PHONY: clean install distclean
.PHONY: TAGS
TAGS:
clean:
$(RM) -f xenpmd xenpmd.o $(DEPS)
+.PHONY: distclean
+distclean: clean
+
xenpmd: xenpmd.o Makefile
$(CC) $(LDFLAGS) $< -o $@ $(LDLIBS) $(APPEND_LDFLAGS)
endif
endif
-.PHONY: all install clean
+.PHONY: all install clean distclean
-all install clean: %: subdirs-%
+all install clean distclean: %: subdirs-%
rm -f $(LIB) $(SHLIB) $(SHLIB_LINKS) $(OBJECTS-y) \
$(BINDINGS) $(BINDINGSRC) $(DEPS)
+.PHONY: distclean
+distclean: clean
+
-include $(DEPS)
clean:
rm -f xentop xentop.o $(DEPS)
+.PHONY: distclean
+distclean: clean
+
-include $(DEPS)
rm -f xenstore $(CLIENTS)
$(RM) $(DEPS)
+.PHONY: distclean
+distclean: clean
+
.PHONY: TAGS
TAGS:
etags `find . -name '*.[ch]'`
clean:
$(RM) *.a *.so *.o *.rpm $(BIN) $(LIBBIN) $(DEPS)
+.PHONY: distclean
+distclean: clean
+
xentrace: xentrace.o
$(CC) $(LDFLAGS) -o $@ $< $(LDLIBS) $(APPEND_LDFLAGS)